package com.kai.mqtt.data.request;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author weijk
 * @since 2024/8/18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PageMqttAclRequest extends PageBaseRequest{

    /**
     * 权限 0-禁止，1-允许
     */
    private Integer permission;

    /**
     * 用户名
     */
    private String username;

    /**
     * 动作 1-订阅，2-发布，3-订阅和发布
     */
    private Integer action;

    /**
     * topic filter
     */
    private String topic;
}
